<?php


namespace App\Utils\Lib\Mortgage;


class MortgageHandler
{
    private $strategy = null;
    public function __construct(MakerMortgage $strategy)
    {
        $this->strategy=$strategy;
    }
    //封装了策略执行的逻辑，所有执行的预约配置统一调用这个方法
    public function MakeMortgageInterface($money){
        return $this->strategy->MakeMortgageInterface($money);
    }

}
